<template>
  <!-- 短信登录 -->
  <div class="smsContainer">
    <h1 class="title">短信登录</h1>
    <el-form-item label="手机号">
      <el-input class="captchaPhone"></el-input>
      <span
        class="captcha-svg"
        style="color: #888; line-height: 45px; text-decoration: underline"
      ></span>
    </el-form-item>

    <el-form-item label="验证码">
      <el-input></el-input>
    </el-form-item>

    <el-form-item>
      <el-button type="primary" class="btn">提交</el-button>
    </el-form-item>
  </div>
</template>
<script>
export default {};
</script>
<style scoped lang="less">
.smsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 0 0 10px 1px white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 10px;
  width: 460px;
  padding: 20px;
  height: 400px;
  overflow: hidden;
  background-color: rgba(17, 16, 16, 0.1);
}
.captchaPhone {
  width: 150px;
  border-radius: 2px 0 0 2px;
}
.btn {
  background: linear-gradient(90deg, #1596fb, #002dff);
  border-radius: 6px;
  width: 300px;
}
.title {
  width: 100%;
  text-align: center;
  font-size: 26px;
  position: relative;
  color: white;
  margin-bottom: 30px;
  margin-top: 20px;
}
.title::before {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 0px;
  height: 3px;
  background-color: white;
  transition: 0.5s;
}
.title:hover:before {
  width: 100px;
}
</style>
